home *** CD-ROM | disk | FTP | other *** search
/ Aminet 51 / Aminet 51 (2002)(GTI - Schatztruhe)[!][Oct 2002].iso / Aminet / util / arc / xadmasterdev.lha / xad / Include / C / inline / xadmaster_protos.h next >
Encoding:
C/C++ Source or Header  |  2002-08-20  |  12.0 KB  |  169 lines

  1. #ifndef _VBCCINLINE_XADMASTER_H
  2. #define _VBCCINLINE_XADMASTER_H
  3.  
  4. #ifndef EXEC_TYPES_H
  5. #include <exec/types.h>
  6. #endif
  7.  
  8. APTR __xadAllocObjectA(__reg("a6") struct xadMasterBase *, __reg("d0") LONG type, __reg("a0") const struct TagItem * tags)="\tjsr\t-30(a6)";
  9. #define xadAllocObjectA(type, tags) __xadAllocObjectA(xadMasterBase, (type), (tags))
  10.  
  11. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  12. APTR __xadAllocObject(__reg("a6") struct xadMasterBase *, __reg("d0") LONG type, Tag tags, ...)="\tmovea.l\ta7,a0\n\tjsr\t-30(a6)";
  13. #define xadAllocObject(type, ...) __xadAllocObject(xadMasterBase, (type), __VA_ARGS__)
  14. #endif
  15.  
  16. void __xadFreeObjectA(__reg("a6") struct xadMasterBase *, __reg("a0") APTR object, __reg("a1") const struct TagItem * tags)="\tjsr\t-36(a6)";
  17. #define xadFreeObjectA(object, tags) __xadFreeObjectA(xadMasterBase, (object), (tags))
  18.  
  19. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  20. void __xadFreeObject(__reg("a6") struct xadMasterBase *, __reg("a0") APTR object, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-36(a6)";
  21. #define xadFreeObject(object, ...) __xadFreeObject(xadMasterBase, (object), __VA_ARGS__)
  22. #endif
  23.  
  24. struct xadClient * __xadRecogFileA(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG size, __reg("a0") APTR memory, __reg("a1") const struct TagItem * tags)="\tjsr\t-42(a6)";
  25. #define xadRecogFileA(size, memory, tags) __xadRecogFileA(xadMasterBase, (size), (memory), (tags))
  26.  
  27. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  28. struct xadClient * __xadRecogFile(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG size, __reg("a0") APTR memory, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-42(a6)";
  29. #define xadRecogFile(size, memory, ...) __xadRecogFile(xadMasterBase, (size), (memory), __VA_ARGS__)
  30. #endif
  31.  
  32. LONG __xadGetInfoA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-48(a6)";
  33. #define xadGetInfoA(ai, tags) __xadGetInfoA(xadMasterBase, (ai), (tags))
  34.  
  35. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  36. LONG __xadGetInfo(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-48(a6)";
  37. #define xadGetInfo(ai, ...) __xadGetInfo(xadMasterBase, (ai), __VA_ARGS__)
  38. #endif
  39.  
  40. void __xadFreeInfo(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai)="\tjsr\t-54(a6)";
  41. #define xadFreeInfo(ai) __xadFreeInfo(xadMasterBase, (ai))
  42.  
  43. LONG __xadFileUnArcA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-60(a6)";
  44. #define xadFileUnArcA(ai, tags) __xadFileUnArcA(xadMasterBase, (ai), (tags))
  45.  
  46. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  47. LONG __xadFileUnArc(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-60(a6)";
  48. #define xadFileUnArc(ai, ...) __xadFileUnArc(xadMasterBase, (ai), __VA_ARGS__)
  49. #endif
  50.  
  51. LONG __xadDiskUnArcA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-66(a6)";
  52. #define xadDiskUnArcA(ai, tags) __xadDiskUnArcA(xadMasterBase, (ai), (tags))
  53.  
  54. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  55. LONG __xadDiskUnArc(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-66(a6)";
  56. #define xadDiskUnArc(ai, ...) __xadDiskUnArc(xadMasterBase, (ai), __VA_ARGS__)
  57. #endif
  58.  
  59. STRPTR __xadGetErrorText(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG errnum)="\tjsr\t-72(a6)";
  60. #define xadGetErrorText(errnum) __xadGetErrorText(xadMasterBase, (errnum))
  61.  
  62. struct xadClient * __xadGetClientInfo(__reg("a6") struct xadMasterBase *)="\tjsr\t-78(a6)";
  63. #define xadGetClientInfo() __xadGetClientInfo(xadMasterBase)
  64.  
  65. LONG __xadHookAccess(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG command, __reg("d1") LONG data, __reg("a0") APTR buffer, __reg("a1") struct xadArchiveInfo * ai)="\tjsr\t-84(a6)";
  66. #define xadHookAccess(command, data, buffer, ai) __xadHookAccess(xadMasterBase, (command), (data), (buffer), (ai))
  67.  
  68. LONG __xadConvertDatesA(__reg("a6") struct xadMasterBase *, __reg("a0") const struct TagItem * tags)="\tjsr\t-90(a6)";
  69. #define xadConvertDatesA(tags) __xadConvertDatesA(xadMasterBase, (tags))
  70.  
  71. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  72. LONG __xadConvertDates(__reg("a6") struct xadMasterBase *, Tag tags, ...)="\tmovea.l\ta7,a0\n\tjsr\t-90(a6)";
  73. #define xadConvertDates(...) __xadConvertDates(xadMasterBase, __VA_ARGS__)
  74. #endif
  75.  
  76. UWORD __xadCalcCRC16(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG id, __reg("d1") ULONG init, __reg("d2") ULONG size, __reg("a0") STRPTR buffer)="\tjsr\t-96(a6)";
  77. #define xadCalcCRC16(id, init, size, buffer) __xadCalcCRC16(xadMasterBase, (id), (init), (size), (buffer))
  78.  
  79. ULONG __xadCalcCRC32(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG id, __reg("d1") ULONG init, __reg("d2") ULONG size, __reg("a0") STRPTR buffer)="\tjsr\t-102(a6)";
  80. #define xadCalcCRC32(id, init, size, buffer) __xadCalcCRC32(xadMasterBase, (id), (init), (size), (buffer))
  81.  
  82. APTR __xadAllocVec(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG size, __reg("d1") ULONG flags)="\tjsr\t-108(a6)";
  83. #define xadAllocVec(size, flags) __xadAllocVec(xadMasterBase, (size), (flags))
  84.  
  85. void __xadCopyMem(__reg("a6") struct xadMasterBase *, __reg("a0") APTR src, __reg("a1") APTR dest, __reg("d0") ULONG size)="\tjsr\t-114(a6)";
  86. #define xadCopyMem(src, dest, size) __xadCopyMem(xadMasterBase, (src), (dest), (size))
  87.  
  88. LONG __xadHookTagAccessA(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG command, __reg("d1") LONG data, __reg("a0") APTR buffer, __reg("a1") struct xadArchiveInfo * ai, __reg("a2") const struct TagItem * tags)="\tjsr\t-120(a6)";
  89. #define xadHookTagAccessA(command, data, buffer, ai, tags) __xadHookTagAccessA(xadMasterBase, (command), (data), (buffer), (ai), (tags))
  90.  
  91. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  92. __regsused("d0/d1/a0/a1/a2") LONG __xadHookTagAccess(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG command, __reg("d1") LONG data, __reg("a0") APTR buffer, __reg("a1") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a2\n\tjsr\t-120(a6)";
  93. #define xadHookTagAccess(command, data, buffer, ai, ...) __xadHookTagAccess(xadMasterBase, (command), (data), (buffer), (ai), __VA_ARGS__)
  94. #endif
  95.  
  96. LONG __xadConvertProtectionA(__reg("a6") struct xadMasterBase *, __reg("a0") const struct TagItem * tags)="\tjsr\t-126(a6)";
  97. #define xadConvertProtectionA(tags) __xadConvertProtectionA(xadMasterBase, (tags))
  98.  
  99. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  100. LONG __xadConvertProtection(__reg("a6") struct xadMasterBase *, Tag tags, ...)="\tmovea.l\ta7,a0\n\tjsr\t-126(a6)";
  101. #define xadConvertProtection(...) __xadConvertProtection(xadMasterBase, __VA_ARGS__)
  102. #endif
  103.  
  104. LONG __xadGetDiskInfoA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-132(a6)";
  105. #define xadGetDiskInfoA(ai, tags) __xadGetDiskInfoA(xadMasterBase, (ai), (tags))
  106.  
  107. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  108. LONG __xadGetDiskInfo(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-132(a6)";
  109. #define xadGetDiskInfo(ai, ...) __xadGetDiskInfo(xadMasterBase, (ai), __VA_ARGS__)
  110. #endif
  111.  
  112. LONG __xadDiskFileUnArcA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-138(a6)";
  113. #define xadDiskFileUnArcA(ai, tags) __xadDiskFileUnArcA(xadMasterBase, (ai), (tags))
  114.  
  115. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  116. LONG __xadDiskFileUnArc(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-138(a6)";
  117. #define xadDiskFileUnArc(ai, ...) __xadDiskFileUnArc(xadMasterBase, (ai), __VA_ARGS__)
  118. #endif
  119.  
  120. LONG __xadGetHookAccessA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-144(a6)";
  121. #define xadGetHookAccessA(ai, tags) __xadGetHookAccessA(xadMasterBase, (ai), (tags))
  122.  
  123. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  124. LONG __xadGetHookAccess(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-144(a6)";
  125. #define xadGetHookAccess(ai, ...) __xadGetHookAccess(xadMasterBase, (ai), __VA_ARGS__)
  126. #endif
  127.  
  128. LONG __xadFreeHookAccessA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, __reg("a1") const struct TagItem * tags)="\tjsr\t-150(a6)";
  129. #define xadFreeHookAccessA(ai, tags) __xadFreeHookAccessA(xadMasterBase, (ai), (tags))
  130.  
  131. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  132. LONG __xadFreeHookAccess(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a1\n\tjsr\t-150(a6)";
  133. #define xadFreeHookAccess(ai, ...) __xadFreeHookAccess(xadMasterBase, (ai), __VA_ARGS__)
  134. #endif
  135.  
  136. LONG __xadAddFileEntryA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadFileInfo * fi, __reg("a1") struct xadArchiveInfo * ai, __reg("a2") const struct TagItem * tags)="\tjsr\t-156(a6)";
  137. #define xadAddFileEntryA(fi, ai, tags) __xadAddFileEntryA(xadMasterBase, (fi), (ai), (tags))
  138.  
  139. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  140. __regsused("d0/d1/a0/a1/a2") LONG __xadAddFileEntry(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadFileInfo * fi, __reg("a1") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a2\n\tjsr\t-156(a6)";
  141. #define xadAddFileEntry(fi, ai, ...) __xadAddFileEntry(xadMasterBase, (fi), (ai), __VA_ARGS__)
  142. #endif
  143.  
  144. LONG __xadAddDiskEntryA(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadDiskInfo * di, __reg("a1") struct xadArchiveInfo * ai, __reg("a2") const struct TagItem * tags)="\tjsr\t-162(a6)";
  145. #define xadAddDiskEntryA(di, ai, tags) __xadAddDiskEntryA(xadMasterBase, (di), (ai), (tags))
  146.  
  147. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  148. __regsused("d0/d1/a0/a1/a2") LONG __xadAddDiskEntry(__reg("a6") struct xadMasterBase *, __reg("a0") struct xadDiskInfo * di, __reg("a1") struct xadArchiveInfo * ai, Tag tags, ...)="\tmovea.l\ta7,a2\n\tjsr\t-162(a6)";
  149. #define xadAddDiskEntry(di, ai, ...) __xadAddDiskEntry(xadMasterBase, (di), (ai), __VA_ARGS__)
  150. #endif
  151.  
  152. LONG __xadGetFilenameA(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG buffersize, __reg("a0") STRPTR buffer, __reg("a1") STRPTR path, __reg("a2") STRPTR name, __reg("a3") const struct TagItem * tags)="\tjsr\t-168(a6)";
  153. #define xadGetFilenameA(buffersize, buffer, path, name, tags) __xadGetFilenameA(xadMasterBase, (buffersize), (buffer), (path), (name), (tags))
  154.  
  155. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  156. __regsused("d0/d1/a0/a1/a3") LONG __xadGetFilename(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG buffersize, __reg("a0") STRPTR buffer, __reg("a1") STRPTR path, __reg("a2") STRPTR name, Tag tags, ...)="\tmovea.l\ta7,a3\n\tjsr\t-168(a6)";
  157. #define xadGetFilename(buffersize, buffer, path, name, ...) __xadGetFilename(xadMasterBase, (buffersize), (buffer), (path), (name), __VA_ARGS__)
  158. #endif
  159.  
  160. STRPTR __xadConvertNameA(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG charset, __reg("a0") const struct TagItem * tags)="\tjsr\t-174(a6)";
  161. #define xadConvertNameA(charset, tags) __xadConvertNameA(xadMasterBase, (charset), (tags))
  162.  
  163. #if !defined(NO_INLINE_STDARG) && (__STDC__ == 1L) && (__STDC_VERSION__ >= 199901L)
  164. STRPTR __xadConvertName(__reg("a6") struct xadMasterBase *, __reg("d0") ULONG charset, Tag tags, ...)="\tmovea.l\ta7,a0\n\tjsr\t-174(a6)";
  165. #define xadConvertName(charset, ...) __xadConvertName(xadMasterBase, (charset), __VA_ARGS__)
  166. #endif
  167.  
  168. #endif /*  _VBCCINLINE_XADMASTER_H  */
  169.